solving for nth

visit shbcf.ru